package com.black.platform.position.service.biz.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.black.platform.position.mapper.UserPositionMapper;
import com.black.platform.position.po.UserPosition;
import com.black.platform.position.service.biz.UserPositionService;
import org.springframework.stereotype.Service;

@Service
public class UserPositionServiceImpl extends ServiceImpl<UserPositionMapper, UserPosition> implements UserPositionService {

    @Override
    public int addUserPosition(UserPosition userPosition) {
        return this.baseMapper.insert(userPosition);
    }
}
